#include "Investment.h"
#include <memory>
#include <iostream>

int main()
{
	std::shared_ptr<Investment> pi1(Investment::createInvestment(100,"Microsoft"));
	std::cout<<Investment::daysHeld(pi1.get())<<std::endl;
	Investment pi2 = *pi1;
	std::system("Pause");
	return 0;
}